Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 18 - QuickDraw 3D Pointing Device Manager / QuickDraw 3D Pointing Device Manager Reference
QuickDraw 3D Pointing Device Manager Routines / Creating and Managing Controllers


Q3Controller_MoveTrackerOrientation

You can use the Q3Controller_MoveTrackerOrientation function to reorient a controller's tracker relative to its current orientation.

TQ3Status Q3Controller_MoveTrackerOrientation (
TQ3ControllerRef controllerRef, 
const TQ3Quaternion *delta);
controllerRef
A reference to a controller.
delta
The desired relative change in the orientation of the tracker associated with the specified controller.
DESCRIPTION
The Q3Controller_MoveTrackerOrientation function changes the orientation of the tracker currently associated with the controller specified by the controllerRef parameter by the relative amount specified in the delta parameter. If no tracker is currently associated with that controller, Q3Controller_MoveTrackerOrientation changes the orientation of the system cursor's tracker relative to its current orientation. Q3Controller_MoveTrackerOrientation has no effect if the controller is inactive.

Note
Calling Q3Controller_MoveTrackerOrientation might cause the notify function of the controller's tracker to be called.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996